package com.jensen.mapper;

import com.jensen.mapper.base.BaseMapper;
import com.jensen.po.User;
import com.jensen.po.UserCustom;
import com.jensen.po.UserQueryVo;

import java.util.List;

/**
 * Created by Jensen on 2016/10/17.
 */
public interface UserMapper extends BaseMapper<User,Long>{

    //查询用户列表
    List<User> findUserByUsername(String username) throws Exception;
    //添加用户信息
    void insertUser(User user)throws Exception;

    List<UserCustom> findUserList(UserQueryVo userQueryVo) throws Exception;

    User findUserByIdResultMap(int id) throws Exception;

    List findGrngood() throws Exception;
}
